# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ssu-sysinfo
pkgver=1.2.1
pkgrel=0
pkgdesc="Mer's ssu-sysinfo"
url="https://git.sailfishos.org/mer-core/ssu-sysinfo"
arch="all"
license="LGPL-2.1-or-later AND BSD-3-Clause"
subpackages="$pkgname-dev"
source="https://git.sailfishos.org/mer-core/ssu-sysinfo/-/archive/$pkgver/ssu-sysinfo-$pkgver.tar.gz"
options="!check" # No test suite available

build() {
	make
}

package() {
	DESTDIR="$pkgdir" make install

	# Required to make missing library symlinks
	ldconfig "$pkgdir"/usr/lib
}

sha512sums="74f3483212f886bfe2464506b6dec9922b80c100a4197400431b24237b699fcde4ae7ca6bd09e47bd0147afa5988ecb866a03c800d160ea258953a53b970b66c  ssu-sysinfo-1.2.1.tar.gz"
